﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="TaoBaoApi_TB_BaoBei" Codebehind="TB_BaoBei.aspx.cs" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="../Controls/ReturnPage.ascx" TagName="ReturnPage" TagPrefix="uc1" %>
<%@ Register Src="../Controls/SearchControl.ascx" TagName="SearchControl" TagPrefix="uc2" %>
<%@ Register Src="~/Controls/TaoBao/TaoBaoTB_BAOBEIListControl.ascx" TagName="BaoBei" TagPrefix="uc3" %>
<%@Register TagPrefix="dntb" Namespace="DotNetTextBox" Assembly="DotNetTextBox"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>淘宝宝贝管理</title>
    <script type="text/javascript" src="../../Include/Js/SocanCode.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div align="justify">
     <h2>淘宝宝贝管理</h2>   
        <div class="menu_bg">               
                <uc2:SearchControl ID="SearchControl1" runat="server" />
                <asp:Button ID="btnDown" runat="Server" Text="下载宝贝..." OnClick="btnDown_Click" />
            </div>
            <div class="juli">               
               <uc3:BaoBei ID="BaoBei1" runat="server" />
            </div>
            <div class="juli">
                <webdiyer:AspNetPager ID="AspNetPager1" runat="server" NumericButtonCount="8" ShowCustomInfoSection="left"
                    PagingButtonSpacing="0" ShowInputBox="always" HorizontalAlign="right" SubmitButtonText="转到"
                    NumericButtonTextFormatString="[{0}]" OnPageChanged="AspNetPager1_PageChanged">
                </webdiyer:AspNetPager>
            </div> 
           <br />
           <div class="left" id="div_info" runat="server"> 
          <div class="juli">
            <asp:Menu ID="Menu1" BorderWidth="1px" CssClass="spmenu" StaticMenuItemStyle-BackColor="#e7e7e7" StaticMenuStyle-BackColor="#e7e7e7"
                StaticSelectedStyle-BackColor="#CCCCCC" Width="90%" runat="server" Orientation="horizontal"
                StaticEnableDefaultPopOutImage="false" OnMenuItemClick="Menu1_MenuItemClick">
                <Items>
                    <asp:MenuItem Text="交易条件2" Value="0" Selected="true"></asp:MenuItem>
                    <asp:MenuItem Text="交易条件1" Value="1"></asp:MenuItem>
                    <asp:MenuItem Text="心情故事" Value="2"></asp:MenuItem>
                    <asp:MenuItem Text="宝贝描述" Value="3"></asp:MenuItem>
                    <asp:MenuItem Text="宝贝GUID" Value="4"></asp:MenuItem>
                    <asp:MenuItem Text="淘宝属性" Value="5"></asp:MenuItem>
                    <asp:MenuItem Text="淘宝颜色" Value="6"></asp:MenuItem>
                    <asp:MenuItem Text="宝贝尺码" Value="7"></asp:MenuItem>
                    <asp:MenuItem Text="关联本地商品" Value="8"></asp:MenuItem>                   
                </Items>
            </asp:Menu>
            <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
                <asp:View ID="Tab1" runat="server">
                    <table>
                           <tr>
                                <td><asp:CheckBox ID="chkZhifubao" runat="Server" Text="支持支付宝" /> </td> 
                                <td><asp:CheckBox ID="chkFapiao" runat="server" Text="有发票" /></td>
                           </tr> 
                            <tr>
                                   <td><asp:CheckBox ID="chkBaoxiu" runat="Server" Text="有保修" /></td>
                                   <td><asp:CheckBox ID="chkChuchuang" runat="server" Text="橱窗推荐" /></td>
                            </tr>
                            <tr>
                                <td><asp:CheckBox ID="chkDazhe" runat="Server" Text="参与会员打折" /></td>
                                <td><asp:CheckBox ID="chkChongfa" runat="server" Text="自动重发" /></td>
                            </tr>
                            <tr>
                                <td><asp:CheckBox ID="chkDingshi" runat="server" Text="定时发布" /></td>
                                <td>发布时间：<asp:TextBox ID="txtFBshijian" runat="Server" /></td>
                            </tr>
                    </table>
                </asp:View>
                <asp:View ID="Tab2" runat="server">
                    <table>
                        <tr>
                            <td> 出售方式：<asp:DropDownList ID="ddlChushou" runat="Server" /></td>
                            <td>一口价/起拍价：<asp:TextBox id="txtYikoujia" runat="server" /></td>
                        </tr> 
                        <tr>
                            <td>有效期：<asp:DropDownList ID="ddlYouxiaoqi" runat="server" /></td>
                            <td>运费承担：<asp:DropDownList ID="ddlYunfei" runat="server" /></td>
                        </tr> 
                        <tr>
                            <td> 付款方式：<asp:DropDownList ID="ddlFukuan" runat="Server" /></td>
                            <td>平邮资费：<asp:TextBox ID="ddlPinyou" runat="server" /></td>
                        </tr> 
                        <tr>
                            <td>快递资费：<asp:TextBox ID="txtKuaidi" runat="Server" /></td>
                            <td>EMS资费：<asp:TextBox ID="txtEms" runat="Server" /></td>
                        </tr> 
                    </table>
                </asp:View>
                <asp:View ID="Tab3" runat="server">
                    <table>
                        <tr>
                            <td valign="top">心情故事</td>
                            <td style="width:70%;"><asp:TextBox ID="txtXinqinggushi" runat="server" TextMode="MultiLine" /></td>
                        </tr> 
                    </table>
                </asp:View>
                <asp:View ID="Tab4" runat="server">
                    <div>宝贝描述</div>
                    <div>
                             <DNTB:WebEditor id="fj2" Width="400px" Height=150px Skin="skin/xp/" MenuConfig="all.config" runat="server" 
                                     LeftAreaAlign="center" LeftAreaWidth="38%" RightAreaWidth="62%" /></div> 
                </asp:View>
                <asp:View ID="View1" runat="server">
                    <!-- 宝贝 GUID -->
                   <table>
                        <tr>
                            <td>淘宝商店：</td>
                            <td><asp:TextBox ID="txtShangdian" runat="Server" /></td>
                        </tr>
                        <tr>
                            <td>宝贝GUID：</td>
                            <td><asp:TextBox ID="txtGuid" runat="Server" /></td>
                        </tr> 
                   </table> 
                </asp:View>
                <asp:View ID="View2" runat="server">
                    <!--   淘宝属性 -->
                    <table>
                        <tr>
                            <td> 淘宝属性名称

                            </td>
                            <td>淘宝属性内容

                            </td>
                        </tr>
                        <asp:Repeater ID="rItemProps" runat="server">
                            <ItemTemplate>
                                <tr>
                                    <td><%# Eval("SXMC") %>
                                    </td>
                                    <td><%# Eval("NRMC") %>
                                    </td>
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                    </table>
                </asp:View>
                 <asp:View ID="View4" runat="server">
                    <!-- 淘宝颜色 -->
                </asp:View>
                <asp:View ID="View3" runat="server">
                    <!-- 宝贝尺码 -->
                </asp:View>          
                <asp:View ID="View5" runat="Server">
                    <!-- 关联本地商品 -->
                   <table>
                        <tr>
                            <th><h3>关联本地商品</h3></th>
                        </tr>
                        <tr>
                            <td>目前已关联商品：<asp:TextBox ID="txtLocked" runat="Server" Enabled="false" /></td>
                        </tr> 
                        <tr>
                            <td>商品大类：<asp:DropDownList ID="ddlSPMainType" runat="server" /></td>
                        </tr> 
                        <tr>
                            <td>商品子类：<asp:DropDownList ID="ddlSPProType" runat="Server" /></td>
                        </tr> 
                        <tr>
                            <td>选择商品代码：<asp:DropDownList ID="ddlSPDM" runat="Server"  /></td>
                        </tr> 
                        <tr>
                            <td><asp:Button ID="btnLock" runat="Server" Text="关联" OnClick="btnLock_Click" /></td>
                        </tr> 
                   </table>
                </asp:View>            
            </asp:MultiView>
           </div>
           </div> 
    </div>
    </form>
</body>
</html>
